package cn.sunflower.common.jwt.request;


import cn.sunflower.common.jwt.UserDefinedPayload;
import cn.sunflower.common.jwt.enums.TokenEnum;

public class TokenGenerationRequest extends UserDefinedPayload {

    private TokenEnum.TokenSource source;

    public TokenEnum.TokenSource getSource() {
        return source;
    }

    public void setSource(TokenEnum.TokenSource source) {
        this.source = source;
    }

    @Override
    public String toString() {
        return "TokenGenerationRequest{" +
                "source=" + source +
                "} " + super.toString();
    }
}
